package edu.gxnu.cetcdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @TableName t_opening
 */
@TableName(value = "t_opening")
@Data
@ApiModel("开门表实体类")
public class TOpening implements Serializable {
    @ApiModelProperty("编号")
    @TableId(value = "opening_id", type = IdType.AUTO)
    private Integer openingId;

    @ApiModelProperty("")
    private String openingWeek;

    @ApiModelProperty("")
    private String openingTime;

    @ApiModelProperty("")
    private String openingName;

    @ApiModelProperty("")
    private String openingPhone;

    @Serial
    private static final long serialVersionUID = 1L;
}